\begin{tikzpicture}

\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{darkorange25512714}{RGB}{255,127,14}
\definecolor{green01270}{RGB}{0,127,0}
\definecolor{lightgray204}{RGB}{204,204,204}
\definecolor{steelblue31119180}{RGB}{31,119,180}

\begin{groupplot}[group style={group size=3 by 3}]
\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.03,0.97)},
  anchor=north west,
  draw=lightgray204
},
scaled x ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
xticklabels={},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 2}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.03,0.03)},
  anchor=south west,
  draw=lightgray204
},
scaled x ticks=manual:{}{\pgfmathparse{#1}},
scaled y ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
xticklabels={},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black},
yticklabels={}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 3}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.97,0.03)},
  anchor=south east,
  draw=lightgray204
},
scaled x ticks=manual:{}{\pgfmathparse{#1}},
scaled y ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
xticklabels={},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black},
yticklabels={}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 4}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.97,0.5)},
  anchor=east,
  draw=lightgray204
},
scaled x ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
xticklabels={},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 5}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.09,0.5)},
  anchor=west,
  draw=lightgray204
},
scaled x ticks=manual:{}{\pgfmathparse{#1}},
scaled y ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
xticklabels={},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black},
yticklabels={}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 6}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.91,0.5)},
  anchor=east,
  draw=lightgray204
},
scaled x ticks=manual:{}{\pgfmathparse{#1}},
scaled y ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
xticklabels={},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black},
yticklabels={}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 7}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.5,0.09)},
  anchor=south,
  draw=lightgray204
},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 8}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.5,0.91)},
  anchor=north,
  draw=lightgray204
},
scaled y ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black},
yticklabels={}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 9}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};

\nextgroupplot[
legend cell align={left},
legend style={
  fill opacity=0.8,
  draw opacity=1,
  text opacity=1,
  at={(0.5,0.5)},
  anchor=center,
  draw=lightgray204
},
scaled y ticks=manual:{}{\pgfmathparse{#1}},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xmin=-0.08, xmax=1.68,
xtick style={color=black},
y grid style={darkgray176},
ymin=-1.0486093, ymax=1.0975528,
ytick style={color=black},
yticklabels={}
]
\addplot [very thin, steelblue31119180]
table {%
0 1
0.4 0.67032005
0.8 0.44932896
1.2 0.30119421
1.6 0.20189652
};
\addlegendentry{loc 10}
\addplot [semithick, green01270, dashed, mark=*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.58778525
0.8 -0.95105652
1.2 0.95105652
1.6 -0.58778525
};
\addplot [semithick, darkorange25512714, mark=*, mark size=3, mark options={solid}, only marks, forget plot]
table {%
0 0
0.4 0.33647224
0.8 0.58778666
1.2 0.78845736
1.6 0.95551145
};
\addplot [semithick, red, dash pattern=on 1pt off 3pt on 3pt off 3pt, mark=square*, mark size=3, mark options={solid}, forget plot]
table {%
0 0
0.4 0.39400424
0.8 -0.42733724
1.2 0.28645272
1.6 -0.1186718
};
\end{groupplot}

\end{tikzpicture}
